package com.pray.praymall.order.feign;

import com.pray.praymall.order.vo.OrderItemVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * do something
 *
 * @author 魂悸魄
 * @date 2020/9/25 22:12
 */
@FeignClient("praymall-cart")
public interface CartFeignService {
    @GetMapping("/currentUserCartItems")
    List<OrderItemVo> getCurrentUserCartItems();
}
